<html><head><title>New Sensor</title>
</head><link rel="stylesheet" type="text/css" href="style.css" />
<body>
<?php
include "validate.php";
include "header.php";
?>
<h2>Create New Sensor</h2>
<h3>Note:  The only required field is the <i>Sensor Name</i></h3>
<?php
if (isset($_SESSION["message"]))
{
	echo "<h4><font color = 'red'>" . $_SESSION["message"] . "</font></h4>";
	$_SESSION['message'] = NULL;
	unset($_SESSION['message']);
}
?>
<form action = 'sensor_create.php' method = 'post'>
<table name = 'sensor'><tr>
<td>Sensor Name:</td>
<td><textarea id = 'sensor' name = 'name' rows = '1' columns = '60'></textarea></td>
</tr><tr>
<td>Region:</td>
<td><textarea id = 'sensor' name = 'region' rows = '1' columns = '60'></textarea></td>
</tr><tr>
<td>IP Address:</td>
<td><textarea id = 'sensor' name = 'address' rows = '1' columns = '60'></textarea></td>
</tr><tr>
<td>Comments:</td>
<td><textarea id = 'sensor' name = 'comments' rows = '10' columns = '60'>
</textarea></td></tr></table>
<input type = 'submit' value = 'Create' /></form>
</body></html>
